﻿/**
* File: XmkhgltxDbModel.cs
* Author: 汪杰
* Create Time:2025/3/1 11:05:12
* Email:15200358008@139.com
* 代码由TMCodeGenerator自动生成
**/
using SqlSugar;
using System;

namespace JSLCloud.DBModel
{
    /// <summary>
    /// xm_kh_gltx Db Model
    /// </summary>
    [SugarTable("xm_kh_gltx")]
    public class XmkhgltxDbModel
    {
        /// <summary>
        /// ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true , ColumnName = "ID" , IsIdentity = true)]
        public int ID { get; set; }
        
        /// <summary>
        /// 创建人ID
        /// </summary>
        [SugarColumn(ColumnName = "CREATEID")]
        public int? Createid { get; set; }
        
        /// <summary>
        /// 创建人姓名
        /// </summary>
        [SugarColumn(ColumnName = "CREATENAME")]
        public string Createname { get; set; }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "CREATETIME")]
        public DateTime? Createtime { get; set; }
        
        /// <summary>
        /// 修改人ID
        /// </summary>
        [SugarColumn(ColumnName = "UPDATEID")]
        public int? Updateid { get; set; }
        
        /// <summary>
        /// 修改人姓名
        /// </summary>
        [SugarColumn(ColumnName = "UPDATENAME")]
        public string Updatename { get; set; }
        
        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "UPDATETIME")]
        public DateTime? Updatetime { get; set; }
        
        /// <summary>
        /// 删除标识 0未删除 1已删除
        /// </summary>
        [SugarColumn(ColumnName = "DELETEFLAG")]
        public int Deleteflag { get; set; }
        
        /// <summary>
        /// 客户ID
        /// </summary>
        [SugarColumn(ColumnName = "KHID")]
        public int Khid { get; set; }
        
        /// <summary>
        /// TXID
        /// </summary>
        [SugarColumn(ColumnName = "TXID")]
        public int Txid { get; set; }
        
        /// <summary>
        /// 证书日期
        /// </summary>
        [SugarColumn(ColumnName = "ZSRQ")]
        public DateTime Zsrq { get; set; }
        
        /// <summary>
        /// 证书有效期
        /// </summary>
        [SugarColumn(ColumnName = "ZSYXQ")]
        public DateTime Zsyxq { get; set; }
        
        /// <summary>
        /// 证书机构
        /// </summary>
        [SugarColumn(ColumnName = "ZSJG")]
        public string Zsjg { get; set; }
        
        /// <summary>
        /// 末次审核日期
        /// </summary>
        [SugarColumn(ColumnName = "MCSHRQ")]
        public DateTime? Mcshrq { get; set; }
        
        /// <summary>
        /// 下次审核日期
        /// </summary>
        [SugarColumn(ColumnName = "XCSHRQ")]
        public DateTime? Xcshrq { get; set; }

        /// <summary>
        /// 证书类别
        /// </summary>
        [SugarColumn(ColumnName = "ZSLB")]
        public string Zslb { get; set; }

        /// <summary>
        /// 证书号
        /// </summary>
        [SugarColumn(ColumnName = "ZSH")]
        public string Zsh { get; set; }

        /// <summary>
        /// 证书状态
        /// </summary>
        [SugarColumn(ColumnName = "ZSZT")]
        public string Zszt { get; set; }

        /// <summary>
        /// 审核类型
        /// </summary>
        [SugarColumn(ColumnName = "DQSHLX")]
        public string Dqshlx { get; set; }

        /// <summary>
        /// 确认状态
        /// </summary>
        [SugarColumn(ColumnName = "QRZT")]
        public string Qrzt { get; set; }

        /// <summary>
        /// 待审核类型
        /// </summary>
        [SugarColumn(ColumnName = "DSHLX")]
        public string Dshlx { get; set; }

        /// <summary>
        /// 待审核类型
        /// </summary>
        [SugarColumn(ColumnName = "FHXZMH")]
        public string Fhxzmh { get; set; } = "N";
    }
}
